DeviceStateOrBuilder

interface DeviceStateOrBuilder : MessageOrBuilder

Inheritors

Properties

Functions

Link copied to clipboard
abstract fun getDidGpsReset(): Boolean

Previously used to manage GPS factory resets.
Deprecated in 2.5.23
bool did_gps_reset = 11 [deprecated = true];
Link copied to clipboard

Read only settings/info about this node
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard

Read only settings/info about this node
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard

The mesh's nodes with their available gpio pins for RemoteHardware module
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard

The mesh's nodes with their available gpio pins for RemoteHardware module
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard

The mesh's nodes with their available gpio pins for RemoteHardware module
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard

The mesh's nodes with their available gpio pins for RemoteHardware module
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard

The mesh's nodes with their available gpio pins for RemoteHardware module
repeated .meshtastic.NodeRemoteHardwarePin node_remote_hardware_pins = 13;
Link copied to clipboard
abstract fun getNoSave(): Boolean

Used only during development.
Indicates developer is testing and changes should never be saved to flash.
Deprecated in 2.3.1
bool no_save = 9 [deprecated = true];
Link copied to clipboard
abstract fun getOwner(): MeshProtos.User

My owner info
.meshtastic.User owner = 3;
Link copied to clipboard

My owner info
.meshtastic.User owner = 3;
Link copied to clipboard

Received packets saved for delivery to the phone
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard
abstract fun getReceiveQueueCount(): Int

Received packets saved for delivery to the phone
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard

Received packets saved for delivery to the phone
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard

Received packets saved for delivery to the phone
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard

Received packets saved for delivery to the phone
repeated .meshtastic.MeshPacket receive_queue = 5;
Link copied to clipboard

We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard

We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard

We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard

We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
.meshtastic.MeshPacket rx_waypoint = 12;
Link copied to clipboard
abstract fun getVersion(): Int

A version integer used to invalidate old save files when we make
incompatible changes This integer is set at build time and is private to
NodeDB.cpp in the device code.
uint32 version = 8;
Link copied to clipboard
abstract fun hasMyNode(): Boolean

Read only settings/info about this node
.meshtastic.MyNodeInfo my_node = 2;
Link copied to clipboard
abstract fun hasOwner(): Boolean

My owner info
.meshtastic.User owner = 3;
Link copied to clipboard
abstract fun hasRxTextMessage(): Boolean

We keep the last received text message (only) stored in the device flash,
so we can show it on the screen.
Might be null
.meshtastic.MeshPacket rx_text_message = 7;
Link copied to clipboard
abstract fun hasRxWaypoint(): Boolean

We keep the last received waypoint stored in the device flash,
so we can show it on the screen.
Might be null
.meshtastic.MeshPacket rx_waypoint = 12;